package ace.cmp.sharding.dynamic.datasource.test.core.config;

import ace.cmp.sharding.dynamic.datasource.test.core.dao.repository.CASUserRepository;
import ace.cmp.spring.data.jdbc.querydsl.core.QuerydslJdbcRepositoryExtendFactoryBean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jdbc.repository.config.EnableJdbcRepositories;

/**
 * @author caspar
 * @date 2023/2/14 11:46
 */
@EnableJdbcRepositories(
    basePackageClasses = {CASUserRepository.class},
    repositoryFactoryBeanClass = QuerydslJdbcRepositoryExtendFactoryBean.class)
@Configuration
public class DataTestConfig {}
